<template>
    <div class="top">
         
        <van-icon name="arrow-left" @click="$router.go(-1)"/>
        <slot>
             <h3 style="font-size:12px">商品订单</h3>
        </slot>
    </div>
</template>

<script>
export default {
    name:"Herd",
    data () {
        return {

 
        }
    }
}
</script>
 
<style lang = "less" scoped>

  .top{
      height: 1.1rem;
      background: #003499;
     
  }
  .van-icon{
      font-size: .34rem;
    padding-left: .2rem;
    color: #fdffff;
  }
  h3{
      font-size: .14rem;
    text-align: center;
    position: relative;
    /* top: 2.1rem; */
    bottom: 0.5rem;
    color: white;
  }
</style>